feat: today 대시보드 - 7일 이내 만료 요약 - #115
Open
chaeliki wants to merge 12 commits into
Open
Conversation
…장격리, VIEWER접근, date파라미터)
chaeliki
marked this pull request as draft
August 8, 2026 00:50
chaeliki
marked this pull request as ready for review
August 8, 2026 00:52
hywznn
previously approved these changes
Aug 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
Refs #15
#15의 완료조건 "향후 7일의 체류·계약·서류 만료 요약"을 구현합니다.
GET /dashboard/today에 이어서 upcoming_7_days 필드를 추가합니다.
완료된 범위
EMPLOYMENT_ACTIVITY_END/DOCUMENT_EXPIRY), UpcomingExpiryItemResponse DTO
조회 로직
결정 사항 및 발견한 버그 (실제 서버로 검증하며 발견)
expiryBefore 필터가
<(미만)만 지원해, "정확히 7일 후"인 항목이누락되고 있었습니다. windowEnd를 targetDate+8로 조정해 해결했습니다
(기존 필터 API의 의미는 그대로 유지).
만료일(예: 3주 전 만료)까지 포함되고 있었습니다.
WorkerSearchQuery/WorkerDocumentSearchQuery에 expiryAfter 필터를
새로 추가하지 않고, DashboardQueryService에서 애플리케이션 레벨로
targetDate 이후만 걸러내도록 했습니다.
GET /dashboard/today를 직접 호출해보며 발견했습니다.
어떻게 검증했나요?
참고
이슈: #15
선행PR: #114